package io.renren.dao;

import io.renren.entity.InterviewEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2017-06-27 15:42:37
 */
public interface InterviewDao extends BaseDao<InterviewEntity> {
    int updateFirstInterviewStatus(Map<String, Object> map);
    int changeEmpFreeFlag(int empid);
    List<InterviewEntity> getInterviewInfoByStatus(Map<String, Object> map);

    int queryTotalInterview(Map<String, Object> map);

    List<InterviewEntity> querySettlementList(Map<String, Object> map);

    int querySettlementTotal(Map<String, Object> map);

    void addBatchCode(@Param("id")String id, @Param("batchcode")String batchcode);

    void confirm(@Param("id")String id, @Param("status")String status);

    void audit(InterviewEntity interviewEntity);
}
